<template>
  <div class="international">
    <el-button @click="changeLangZH" type="primary">中文</el-button>
    <el-button @click="changeLangEN" type="primary">英文</el-button>
    <p></p>
    <span>{{$t('message.loginAccount')}}</span>
    <p>{{ $t('message.loginByPhone') }}</p>
  </div>
</template>

<script>
export default {
  methods:{
    // 中文
    changeLangZH() {
      this.$i18n.locale = 'cn'
    },
    changeLangEN(){
      this.$i18n.locale = 'en'
    }
  }
}
</script>

<style lang="scss" scoped>

</style>